Activitypub\Comment C

Total Complexity 103
Dependencies 6
Dependents 21
Total lines 795
Lines of code 385
Logical lines of code 193
Comment lines 298
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
url_to_commentid()
A
47 9 36
pre_comment_approved()
A
50 9 28
comment_query()
A
56 9 18
should_be_federated()
S
54 7 21
comment_reply_link()
S
56 5 17
map_meta_cap()
S
64 6 8
are_comments_allowed()
S
59 5 14
comment_feed_where()
S
57 3 16
get_source_url()
S
64 4 9
get_source_id()
S
64 4 9
remote_comment_link()
S
63 4 10
was_sent()
S
63 3 11
get_comment_type_by_activity_type()
S
62 3 11
was_received()
S
63 3 11
register_comment_types()
S
49 1 34
is_local()
S
70 3 6
maybe_update_comment_counts()
S
72 3 5
pre_wp_update_comment_count_now()
S
62 3 10
get_comment_type_attr()
S
64 3 9
object_id_to_comment()
S
60 2 14
post_has_remote_comments()
S
56 1 20
comment_class()
S
69 2 6
generate_id()
S
66 2 8
get_comment_type()
S
63 2 10
init()
S
58 1 14
get_avatar_comment_types()
S
72 1 5
get_comment_type_slugs()
S
80 1 3
is_registered_comment_type()
S
70 1 6
get_comment_types()
S
77 1 4
create_fediverse_reply_link()
S
64 1 9
is_comment_type_enabled()
S
77 1 3